x86: partially undo "fix build with gcc 7"
authorJan Beulich <jbeulich@suse.com>
Thu, 1 Jun 2017 08:50:25 +0000 (10:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 1 Jun 2017 08:50:25 +0000 (10:50 +0200)
commitd6d6e4a19dc16f6d82ab9dec0f177f2105ab97ac
tree7f518aa2b1effafe3d065e7b7df79fb2aaf869f8
parent02bcbb09fda25bb03e7269a2433e17c763e9d6f5
x86: partially undo "fix build with gcc 7"

While f32400e90c ("x86: fix build with gcc 7")'s change to
compat_array_access_ok() is necessary, I had blindly and needlessly
also added it to array_access_ok(). There's no conditional expression
involved there, so undo it.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/x86_64/uaccess.h